using System.Collections.Generic;
using DataModel.Reports;

namespace RitaReports.TravelAgency
{
    public class TravelAgencyDataSource : IReportDataSource
    {
 
        private readonly List<TravelAgencyReportData> agencies = new List<TravelAgencyReportData>();

        public List<TravelAgencyReportData> Agencies
        {
            get { return agencies; }
        }

        public TravelAgencyDataSource(IEnumerable<TravelAgencyReportData> list)
        {

            agencies.AddRange(list);
        }
    }
}